# 王磊的作业
list=[1,2,3,4,5,6,7,8,9]
for i in range(len(list)):
    list.insert(i,list.pop())
print(list)

list2=list[::-1]
print(list2)

list3=list2[8::-1]
print(list3)